Skip to content

Add haskell-8.10.2-0 #133

Merged
merged 1 commit into from
Oct 23, 2020
Merged

Add haskell-8.10.2-0 #133

merged 1 commit into from
Oct 23, 2020

Conversation

donald
Copy link
Contributor

@donald donald commented Oct 23, 2020

Add package which installs Haskell 8.10.1, cabal 3.2.0.0 and hls
(haskell-language-server) 0.5.1 using ghcup [1].

We need libtinfo.so.6 at build time for ghcup and at run time for
haskell. The installed libncursesw.so is (hopefully) ABI compatible, so
add it to the package.

[1] https://gitlab.haskell.org/haskell/ghcup-hs#manual-install

@pmenzel
Copy link
Contributor

pmenzel commented Oct 23, 2020

Why not bee?

Update merge/pull request title with correct version (currently Add haskell-8.1.20-0)?

@niclas niclas changed the title Add haskell-8.1.20-0 Add haskell-8.10.2-0 Oct 23, 2020
Copy link
Contributor

@niclas niclas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@thomas
Copy link
Contributor

thomas commented Oct 23, 2020

@pmenzel: libtinfo.so is the show-stopper. It comes with recent ncurses. So, als long as our (ancient) ncurses bee-package isn't updated, we can not use it.

Add package which installs Haskell 8.10.1, cabal 3.2.0.0 and hls
(haskell-language-server) 0.5.1 using ghcup [1]

We need libtinfo.so.6 at build time for ghcup and at run time for
haskell. The installed libncursesw.so is (hopefully) ABI compatible, so
add it to the package.

[1] https://gitlab.haskell.org/haskell/ghcup-hs
Comment on lines +48 to +50
mkdir -p $PREFIX/lib
cp /usr/lib/libncursesw.so $PREFIX/lib/
ln -sf libncursesw.so $PREFIX/lib/libtinfo.so.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thomas, as you can see here, the shared library from the current Ncurses in MarIuX is used. So, that’s not the reason. ;-)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How should the bee file look which installs libtinfo.so from ncurses?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A dedicated compatibility package.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean an update to curses v.6 (or even 5.9 would be a big jump), and try on an compat package for the old one. I guess this is going to be sporty.

@pmenzel
Copy link
Contributor

pmenzel commented Oct 23, 2020

For the record to clarify install, if I understood it correctly, ghcup does not build the binaries, but installs pre-built binaries.

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants